<?php
	$local = true;
	
	if ($local) {
		$conexao = mysql_connect("localhost", "root", "17041209") or die("Erro na conexao!");
		$db = mysql_select_db("sgs_db", $conexao) or die("Erro ao selecionar banco de dados!");
	} else {
	}
	
	mysql_query("SET NAMES 'utf8'");
	mysql_query('SET character_set_connection=utf8');
	mysql_query('SET character_set_client=utf8');
	mysql_query('SET character_set_results=utf8');
?>